home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 July & August / PCWorld_2006-07-08_cd.bin / komunikace / apache / apache_2[1].2.2-win32-x86-no_ssl.msi / Data1.cab / _311F5D72D653A5434DEFF69C35AB9C94 < prev    next >
Extensible Markup Language  |  2006-01-15  |  19KB  |  323 lines

  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"><head><!--
  4.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  5.               This file is generated from xml source: DO NOT EDIT
  6.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  7.       -->
  8. <title>└╬┴⌡(Authentication), ▒╟╟╤║╬┐⌐(Authorization),
  9. ┴ó▒┘┴ª╛ε(Access Control) - Apache HTTP Server</title>
  10. <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
  11. <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
  12. <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
  13. <link href="../images/favicon.ico" rel="shortcut icon" /></head>
  14. <body id="manual-page"><div id="page-header">
  15. <p class="menu"><a href="../mod/">╕≡╡Γ</a> | <a href="../mod/directives.html">┴÷╜├╛ε╡Θ</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">┐δ╛ε</a> | <a href="../sitemap.html">╗τ└╠╞«╕╩</a></p>
  16. <p class="apache">Apache HTTP Server Version 2.2</p>
  17. <img alt="" src="../images/feather.gif" /></div>
  18. <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
  19. <div id="path">
  20. <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.2</a> > <a href="./">How-To / Tutorials</a></div><div id="page-content"><div id="preamble"><h1>└╬┴⌡(Authentication), ▒╟╟╤║╬┐⌐(Authorization),
  21. ┴ó▒┘┴ª╛ε(Access Control)</h1>
  22. <div class="toplang">
  23. <p><span>░í┤╔╟╤ ╛≡╛ε: </span><a href="../en/howto/auth.html" hreflang="en" rel="alternate" title="English"> en </a> |
  24. <a href="../ja/howto/auth.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
  25. <a href="../ko/howto/auth.html" title="Korean"> ko </a></p>
  26. </div>
  27. <div class="outofdate">└╠ ╣«╝¡┤┬ ├╓╜┼╞╟ ╣°┐¬└╠ ╛╞┤╒┤╧┤┘.
  28.             ├╓▒┘┐í ║»░µ╡╚ │╗┐δ└║ ┐╡╛ε ╣«╝¡╕ª ┬ⁿ░φ╟╧╝╝┐Σ.</div>
  29.  
  30.     <p>└╬┴⌡(authentication)└║ └┌╜┼└╠ ┤⌐▒╕╢≤░φ ┴╓└σ╟╧┤┬ ╗τ╢≈└╗
  31.     ╚«└╬╟╧┤┬ └²┬≈└╠┤┘. ▒╟╟╤║╬┐⌐(authorization)┤┬ ░í░φ ╜═└║ ░≈└╕╖╬
  32.     ░í╡╡╖╧ ╚ñ└║ ┐°╟╧┤┬ ┴ñ║╕╕ª ╛≥╡╡╖╧ ╟π┐δ╟╧┤┬ ░·┴ñ└╠┤┘.</p>
  33. </div>
  34. <div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#related">░ⁿ╖├ ╕≡╡Γ░· ┴÷╜├╛ε</a></li>
  35. <li><img alt="" src="../images/down.gif" /> <a href="#introduction">╝╥░│</a></li>
  36. <li><img alt="" src="../images/down.gif" /> <a href="#theprerequisites">▒Γ║╗ ┴÷╜─</a></li>
  37. <li><img alt="" src="../images/down.gif" /> <a href="#gettingitworking">▒Γ║╗└√└╬ ╝│┴ñ╟╧▒Γ</a></li>
  38. <li><img alt="" src="../images/down.gif" /> <a href="#lettingmorethanonepersonin">┐⌐╖»╕φ└╗ ╡Θ┐⌐║╕│╗▒Γ</a></li>
  39. <li><img alt="" src="../images/down.gif" /> <a href="#possibleproblems">╣▀╗²╟╥ ╝÷ └╓┤┬ ╣«┴ª┴í</a></li>
  40. <li><img alt="" src="../images/down.gif" /> <a href="#whatotherneatstuffcanido">┤┘╕Ñ ╣µ╣²╡╡ ░í┤╔╟╤░í?</a></li>
  41. <li><img alt="" src="../images/down.gif" /> <a href="#moreinformation">┤⌡ ╕╣└║ ┴ñ║╕</a></li>
  42. </ul></div>
  43. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  44. <div class="section">
  45. <h2><a name="related" id="related">░ⁿ╖├ ╕≡╡Γ░· ┴÷╜├╛ε</a></h2>
  46.     <table class="related"><tr><th>░ⁿ╖├╡╚ ╕≡╡Γ</th><th>░ⁿ╖├╡╚ ┴÷╜├╛ε</th></tr><tr><td><ul><li><code class="module"><a href="../mod/mod_auth_basic.html">mod_auth_basic</a></code></li><li><code class="module"><a href="../mod/mod_authn_file.html">mod_authn_file</a></code></li><li><code class="module"><a href="../mod/mod_authz_groupfile.html">mod_authz_groupfile</a></code></li><li><code class="module"><a href="../mod/mod_authz_host.html">mod_authz_host</a></code></li></ul></td><td><ul><li><code class="directive"><a href="../mod/mod_authz_host.html#allow">Allow</a></code></li><li><code class="directive"><a href="../mod/mod_authz_groupfile.html#authgroupfile">AuthGroupFile</a></code></li><li><code class="directive"><a href="../mod/core.html#authname">AuthName</a></code></li><li><code class="directive"><a href="../mod/core.html#authtype">AuthType</a></code></li><li><code class="directive"><a href="../mod/mod_authn_file.html#authuserfile">AuthUserFile</a></code></li><li><code class="directive"><a href="../mod/mod_authz_host.html#deny">Deny</a></code></li><li><code class="directive"><a href="../mod/core.html#options">Options</a></code></li><li><code class="directive"><a href="../mod/core.html#require">Require</a></code></li></ul></td></tr></table>
  47. </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  48. <div class="section">
  49. <h2><a name="introduction" id="introduction">╝╥░│</a></h2>
  50.     <p>┤τ╜┼└╟ └Ñ╗τ└╠╞«┐í └╓┤┬ ┴ñ║╕░í ╝╥╝÷└╟ ╗τ╢≈╡Θ╕╕└╟ ║±╣╨└╠░┼│¬
  51.     └╠╡Θ╕╕└╗ └º╟╤ ┴ñ║╕╢≤╕Θ, └╠ ▒█┐í╝¡ ╝│╕φ╟╧┤┬ ▒Γ╣²└╗ ╗τ┐δ╟╧┐⌐
  52.     ┤τ╜┼└╠ ║╕▒µ ┐°╟╧┤┬ ╗τ╢≈╕╕ ╞Σ└╠┴÷╕ª ║╕╡╡╖╧ ╟╥ ╝÷ └╓┤┘.</p>
  53.  
  54.     <p>└╠ ▒█└║ └Ñ╗τ└╠╞«└╟ └╧║╬╕ª ║╕╚ú╟╧▒Γ└º╟╪ ╕╣└║ ╗τ╢≈╡Θ└╠
  55.     ╗τ┐δ╟╧┤┬ "╟Ñ┴╪└√└╬" ╣µ╣²└╗ ┤┘╖Θ┤┘.</p>
  56. </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  57. <div class="section">
  58. <h2><a name="theprerequisites" id="theprerequisites">▒Γ║╗ ┴÷╜─</a></h2>
  59.     <p>└╠ ▒█┐í╝¡ ┤┘╖τ┤┬ ┴÷╜├╛ε┤┬ ╝¡╣÷└╟ ┴╓╝│┴ñ╞─└╧(└╧╣▌└√└╕╖╬
  60.     <code class="directive"><a href="../mod/core.html#directory"><Directory></a></code>
  61.     ╝╜╝╟)└╠│¬ ╡≡╖║┼Σ╕«║░ ╝│┴ñ╞─└╧(<code>.htaccess</code> ╞─└╧)┐í╝¡
  62.     ╗τ┐δ╟╤┤┘.</p>
  63.  
  64.     <p><code>.htaccess</code> ╞─└╧└╗ ╗τ┐δ╟╧╖┴╕Θ └╠ ╞─└╧┐í └╓┤┬
  65.     └╬┴⌡ ┴÷╜├╛ε╕ª ╟π┐δ╟╧╡╡╖╧ ╝¡╣÷╕ª ╝│┴ñ╟╪╛▀ ╟╤┤┘. └╠╕ª └º╟╪
  66.     ╡≡╖║┼Σ╕«║░ ╝│┴ñ╞─└╧┐í ╛ε╢▓ ┴÷╜├╛ε╕ª ╗τ┐δ╟╥ ╝÷ └╓┤┬┴÷╕ª ░ß┴ñ╟╧┤┬
  67.     <code class="directive"><a href="../mod/core.html#allowoverride">AllowOverride</a></code> ┴÷╜├╛ε╕ª
  68.     ╗τ┐δ╟╤┤┘.</p>
  69.  
  70.     <p>┐⌐▒Γ╝¡┤┬ └╬┴⌡└╗ ┤┘╖τ▒Γ ╢º╣«┐í, ┤┘└╜░· ░░└║
  71.     <code>AllowOverride</code> ┴÷╜├╛ε░í ╟╩┐Σ╟╧┤┘.</p>
  72.  
  73.     <div class="example"><p><code>
  74.       AllowOverride AuthConfig
  75.     </code></p></div>
  76.  
  77.     <p>╚ñ└║ ┴÷╜├╛ε╕ª ┴≈┴ó ╝¡╣÷ ┴╓╝│┴ñ╞─└╧┐í └√┤┬┤┘╕Θ, ▒╫ ╞─└╧┐í
  78.     ╛▓▒Γ ▒╟╟╤└╠ ╣░╖╨ └╓╛ε╛▀ ╟╤┤┘.</p>
  79.  
  80.     <p>▒╫╕«░φ ║╕╚ú╟╥ ╞─└╧└╠ ╛ε╡≡└╓┤┬┴÷ ╛╦▒Γ└º╟╪ ╝¡╣÷└╟ ╡≡╖║┼Σ╕«
  81.     ▒╕┴╢┐í ┤δ╟╪ ┴╢▒▌ ╛╦╛╞╛▀╟╤┤┘. └╠ └╧└║ ╛ε╖╞┴÷╛╩░φ, └√┤τ╟╤
  82.     ╢º┐í └┌╝╝╚≈ ╝│╕φ╟╥ ░═└╠┤┘.</p>
  83. </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  84. <div class="section">
  85. <h2><a name="gettingitworking" id="gettingitworking">▒Γ║╗└√└╬ ╝│┴ñ╟╧▒Γ</a></h2>
  86.     <p>└╠┴ª ╝¡╣÷└╟ ╡≡╖║┼Σ╕«╕ª ╛╧╚ú╖╬ ║╕╚ú╟╧┤┬ ▒Γ║╗└√└╬ ╣µ╣²└╗
  87.     ╝│╕φ╟╤┤┘.</p>
  88.  
  89.     <p>╕╒└· ╛╧╚ú╞─└╧└╗ ╕╕╡Θ╛ε╛▀ ╟╤┤┘. └╠ ╞─└╧└║ └Ñ┐í╝¡ ┴ó▒┘╟╥
  90.     ╝÷ ╛°┤┬ ░≈┐í └╓╛ε╛▀ ╟╤┤┘. ┤┘╕Ñ╗τ╢≈└╠ ╛╧╚ú╞─└╧└╗ ┤┘┐ε╖╬╡σ╟╧┴÷
  91.     ╕°╟╧░╘╟╧▒Γ └º╟╪╝¡┤┘. ┐╣╕ª ╡Θ╛ε, ╣«╝¡╡Θ└╠
  92.     <code>/usr/local/apache/htdocs</code>┐í └╓┤┘╕Θ ╛╧╚ú╞─└╧(╡Θ)└║
  93.     <code>/usr/local/apache/passwd</code>┐í ╡╨┤┘.</p>
  94.  
  95.     <p>╛╞╞──í┐í ╞≈╟╘╡╚ <a href="../programs/htpasswd.html">htpasswd</a> ╡╡▒╕╕ª ╗τ┐δ╟╧┐⌐
  96.     ╛╧╚ú╞─└╧└╗ ╕╕╡τ┤┘. └╠ ╟┴╖╬▒╫╖Ñ└║ ╛╞╞──í╕ª ╝│─í╟╤ ░≈└╟
  97.     <code>bin</code> ╡≡╖║┼Σ╕«┐í └╓┤┘. ╞─└╧└╗ ╕╕╡Θ╖┴╕Θ ┤┘└╜░·
  98.     ░░└╠ └╘╖┬╟╤┤┘.</p>
  99.  
  100.     <div class="example"><p><code>
  101.       htpasswd -c /usr/local/apache/passwd/passwords rbowen
  102.     </code></p></div>
  103.  
  104.     <p><code>htpasswd</code>┤┬ ╛╧╚ú╕ª ╣░╛ε║╕░φ, ╚«└╬└╗ └º╟╪
  105.     ╛╧╚ú╕ª ┤┘╜├ └╘╖┬╟╧╢≤░φ ┐Σ├╗╟╤┤┘.</p>
  106.  
  107.     <div class="example"><p><code>
  108.       # htpasswd -c /usr/local/apache/passwd/passwords rbowen<br />
  109.       New password: mypassword<br />
  110.       Re-type new password: mypassword<br />
  111.       Adding password for user rbowen
  112.     </code></p></div>
  113.  
  114.     <p>╣░╖╨ <code>htpasswd</code>└╠ ╜╟╟α╞─└╧ ░µ╖╬┐í ╛°┤┘╕Θ
  115.     ╜╟╟α╞─└╧└╟ └ⁿ├╝ ░µ╖╬╕ª └╘╖┬╟╪╛▀ ╟╤┤┘. │╗░í ╗τ┐δ╟╧┤┬ ╝¡╣÷┐í╝¡┤┬
  116.     <code>/usr/local/apache/bin/htpasswd</code>┐í ╜╟╟α╞─└╧└╠
  117.     └╓┤┘.</p>
  118.  
  119.     <p>┤┘└╜└╕╖╬ ╝¡╣÷░í ╛╧╚ú╕ª ┐Σ├╗╟╧╡╡╖╧ ╝│┴ñ╟╧░φ, ╝¡╣÷┐í░╘
  120.     ╛ε╢▓ ╗τ┐δ└┌└╟ ┴ó▒┘└╗ ╟π┐δ╟╥┴÷ ╛╦╖┴┴α╛▀ ╟╤┤┘.
  121.     <code>httpd.conf</code>╕ª ╞φ┴²╟╧░┼│¬ <code>.htaccess</code>
  122.     ╞─└╧└╗ ╗τ┐δ╟╧┐⌐ ╝│┴ñ╟╤┤┘. ┐╣╕ª ╡Θ╛ε,
  123.     <code>/usr/local/apache/htdocs/secret</code> ╡≡╖║┼Σ╕«╕ª
  124.     ║╕╚ú╟╧╖┴╕Θ, ╛╞╖í ┴÷╜├╛ε╕ª
  125.     <code>/usr/local/apache/htdocs/secret/.htaccess</code> ╞─└╧└╠│¬
  126.     <code>httpd.conf</code>└╟ <Directory
  127.     /usr/local/apache/apache/htdocs/secret> ╝╜╝╟┐í └√╛ε╛▀
  128.     ╟╤┤┘.</p>
  129.  
  130.     <div class="example"><p><code>
  131.       AuthType Basic<br />
  132.       AuthName "Restricted Files"<br />
  133.       AuthUserFile /usr/local/apache/passwd/passwords<br />
  134.       Require user rbowen
  135.     </code></p></div>
  136.  
  137.     <p>┴÷╜├╛ε╕ª ╟╧│¬╛┐ ╗∞╞∞║╕└┌. <code class="directive"><a href="../mod/core.html#authtype">AuthType</a></code> ┴÷╜├╛ε┤┬ ╗τ┐δ└┌╕ª └╬┴⌡╟╥
  138.     ╣µ╣²└╗ ╝▒┼├╟╤┤┘. ░í└σ └╧╣▌└√└╬ ╣µ╣²└║ <code>Basic</code>└╕╖╬,
  139.     <code class="module"><a href="../mod/mod_auth_basic.html">mod_auth_basic</a></code>└╠ ▒╕╟÷╟╤┤┘. ▒╫╖»│¬ Basic
  140.     └╬┴⌡└║ ║Ω╢≤┐∞└·░í ╝¡╣÷╖╬ ╛╧╚ú╕ª ╛╧╚ú╚¡╟╧┴÷ ╛╩░φ ║╕│╜┤┘.
  141.     ▒╫╖»╣╟╖╬ ▒Γ╣╨ └┌╖ß╕ª ║╕╚ú╟╧▒Γ└º╟╪ └╠ ╣µ╣²└╗ ╗τ┐δ╟╧╕Θ ╛╚╡╚┤┘.
  142.     ╛╞╞──í┤┬ <code>AuthType Digest</code>╢≤┤┬ └╬┴⌡ ╣µ╣²╡╡ ┴÷┐°╟╤┤┘.
  143.     └╠ ╣µ╣²└║ <code class="module"><a href="../mod/mod_auth_digest.html">mod_auth_digest</a></code>░í ▒╕╟÷╟╧╕τ, ╕┼┐∞
  144.     ╛╚└ⁿ╟╧┤┘. ░í└σ ├╓▒┘ ┼¼╢≤└╠╛≡╞«╡Θ╕╕└╠ Digest └╬┴⌡└╗ ┴÷┐°╟╤┤┘░φ
  145.     ╟╤┤┘.</p>
  146.  
  147.     <p><code class="directive"><a href="../mod/core.html#authname">AuthName</a></code> ┴÷╜├╛ε┤┬
  148.     └╬┴⌡┐í ╗τ┐δ╟╥ <dfn>┐╡┐¬(realm)</dfn>└╗ ┴÷┴ñ╟╤┤┘. ┐╡┐¬└║
  149.     ╡╬░í┴÷ ┐¬╟╥└╗ ╟╤┤┘. ├╣╣°┬░┤┬ ┼¼╢≤└╠╛≡╞«░í ║╕┼δ └╠ ┴ñ║╕╕ª
  150.     ╛╧╚ú ┤δ╚¡├ó┐í ║╕┐⌐┴╪┤┘. ╡╬╣°┬░┤┬ ┐╡┐¬ ┴ñ║╕╕ª ╗τ┐δ╟╧┐⌐
  151.     ┼¼╢≤└╠╛≡╞«░í ╞»┴ñ └╬┴⌡▒╕┐¬┐í ╛ε╢▓ ╛╧╚ú╕ª ║╕│╛┴÷ ░ß┴ñ╟╤┤┘.</p>
  152.  
  153.     <p>┐╣╕ª ╡Θ╛ε, └╧┤▄ ┼¼╢≤└╠╛≡╞«░í <code>"Restricted Files"</code>
  154.     ┐╡┐¬┐í └╬┴⌡└╠ ╝║░°╟╧┐┤┤┘╕Θ, ┼¼╢≤└╠╛≡╞«┤┬ └┌╡┐└╕╖╬ ░░└║ ╝¡╣÷┐í╝¡
  155.     <code>"Restricted Files"</code> ┐╡┐¬└╕╖╬ ╟Ñ╜├╡╚ ▒╕┐¬┐í ┤δ╟╪
  156.     ╡┐└╧╟╤ ╛╧╚ú╕ª ╜├╡╡╟╤┤┘. ▒╫╖í╝¡ ┐⌐╖» ┴ª╟╤ ▒╕┐¬└╠ ░░└║ ┐╡┐¬└╗
  157.     ░°└»╟╧╕Θ ╗τ┐δ└┌░í ┐⌐╖»╣° ╛╧╚ú╕ª └╘╖┬╟╧┴÷ ╛╩╛╞╡╡ ╡╚┤┘. ╣░╖╨
  158.     ║╕╛╚╗≤ └╠└»╖╬ ┼¼╢≤└╠╛≡╞«┤┬ ╝¡╣÷└╟ ╚ú╜║╞«╕φ└╠ ┤┘╕ú╕Θ ╟╫╗≤
  159.     ╗⌡╖╬ ╛╧╚ú╕ª ╣░╛ε║╗┤┘.</p>
  160.  
  161.     <p><code class="directive"><a href="../mod/mod_authn_file.html#authuserfile">AuthUserFile</a></code>
  162.     ┴÷╜├╛ε┤┬ ┐∞╕«░í ╣µ▒▌ <code>htpasswd</code>╖╬ ╕╕╡τ ╛╧╚ú╞─└╧└╟
  163.     ░µ╖╬╕ª ╝│┴ñ╟╤┤┘. ╗τ┐δ└┌░í ╕╣┤┘╕Θ ┐Σ├╗╕╢┤┘ ╕┼╣° ╗τ┐δ└┌╕ª
  164.     └╬┴⌡╟╧▒Γ└º╟╪ └╧╣▌ ╣«╝¡╞─└╧└╗ ░╦╗÷╟╧┤┬╡Ñ ╜├░ú└╠ ╗≤┤τ╚≈ ╕╣└╠
  165.     ░╔╕▒ ╝÷ └╓┤┘. ╛╞╞──í┤┬ ║ⁿ╕Ñ ╡Ñ└╠┼╕║ú└╠╜║ ╞─└╧┐í ╗τ┐δ└┌ ┴ñ║╕╕ª
  166.     └·└σ╟╥ ╝÷ └╓┤┘. <code class="module"><a href="../mod/mod_authn_dbm.html">mod_authn_dbm</a></code> ╕≡╡Γ└║ <code class="directive"><a href="../mod/mod_authn_dbm.html#authdbmuserfile">AuthDBMUserFile</a></code> ┴÷╜├╛ε╕ª
  167.     ┴ª░°╟╤┤┘. <a href="../programs/dbmmanage.html">dbmmanage</a>
  168.     ╟┴╖╬▒╫╖Ñ└╗ ╗τ┐δ╟╧┐⌐ ╛╧╚ú╞─└╧└╗ ╕╕╡Θ░φ ┤┘╖Θ┤┘. <a href="http://modules.apache.org/">╛╞╞──í ╕≡╡Γ
  169.     ╡Ñ└╠┼╕║ú└╠╜║</a>┐í┤┬ ┐⌐╖» ┤┘╕Ñ └╬┴⌡ ╣µ╜─└╗ ┴ª░°╟╧┤┬ ┴ª╗∩└┌░í
  170.     ╕╕╡τ ╕≡╡Γ╡Θ└╠ └╓┤┘.</p>
  171.  
  172.     <p>╕╢┴÷╕╖└╕╖╬ <code class="directive"><a href="../mod/core.html#require">Require</a></code>
  173.     ┴÷╜├╛ε┤┬ ╝¡╣÷└╟ ╞»┴ñ ┐╡┐¬┐í ┴ó▒┘╟╥ ╝÷ └╓┤┬ ╗τ┐δ└┌╕ª ┴÷┴ñ╟╧┐⌐
  174.     ▒╟╟╤║╬┐⌐╕ª ╟╤┤┘. ┤┘└╜ └²└║ <code>require</code> ┴÷╜├╛ε╕ª
  175.     ╗τ┐δ╟╧┤┬ ┤┘╛τ╟╤ ╣µ╣²└╗ ╝│╕φ╟╤┤┘.</p>
  176. </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  177. <div class="section">
  178. <h2><a name="lettingmorethanonepersonin" id="lettingmorethanonepersonin">┐⌐╖»╕φ└╗ ╡Θ┐⌐║╕│╗▒Γ</a></h2>
  179.     <p>└º└╟ ┴÷╜├╛ε┤┬ ╡≡╖║┼Σ╕«╖╬ (╗τ┐δ└┌╕φ└╠ <code>rbowen</code>└╬)
  180.     ╟╤ ╗τ╢≈╕╕└╗ ╡Θ┐⌐║╕│╜┤┘. ┤δ║╬║╨└╟ ░µ┐∞ ┐⌐╖» ╗τ╢≈└╗ ╡Θ┐⌐║╕│╗░φ
  181.     ╜═└╗ ░═└╠┤┘. └╠┴ª <code class="directive"><a href="../mod/mod_authz_groupfile.html#authgroupfile">AuthGroupFile</a></code>└╗
  182.     ╗τ┐δ╟╥ ╢º┤┘.</p>
  183.  
  184.     <p>┐⌐╖» ╗τ╢≈└╗ ╡Θ┐⌐║╕│╗░φ ╜═┤┘╕Θ ▒╫╖∞╕φ░· ▒╫ ▒╫╖∞┐í ╛ε╢▓
  185.     ╗τ┐δ└┌╡Θ└╠ └╓┤┬┴÷ ╛╦╖┴┴╓┤┬ ▒╫╖∞╞─└╧└╠ ╟╩┐Σ╟╧┤┘. └╠ ╞─└╧└╟
  186.     ╟ⁿ╜─└║ ╕┼┐∞ ░ú┤▄╟╧┐⌐, ╛╞╣½ ╞φ┴²▒Γ╖╬│¬ ╕╕╡Θ ╝÷ └╓┤┘. ╞─└╧│╗┐δ└║
  187.     ┤┘└╜░· ░░┤┘.</p>
  188.  
  189.    <div class="example"><p><code>
  190.      GroupName: rbowen dpitts sungo rshersey
  191.    </code></p></div>
  192.  
  193.     <p>▒╫│╔ ░°╣Θ└╕╖╬ ▒╕║╨╟╤ ▒Σ ▒╫╖∞ ▒╕╝║┐° ╕±╖╧└╧ ╗╙└╠┤┘.</p>
  194.  
  195.     <p>▒Γ┴╕└╟ ╛╧╚ú╞─└╧┐í ╗τ┐δ└┌╕ª ├▀░í╟╧╖┴╕Θ ┤┘└╜░· ░░└╠ └╘╖┬╟╤┤┘</p>
  196.  
  197.     <div class="example"><p><code>
  198.       htpasswd /usr/local/apache/passwd/passwords dpitts
  199.     </code></p></div>
  200.  
  201.     <p>└ⁿ░· ░░┴÷╕╕, ╗⌡╖╬ ╞─└╧└╗ ╕╕╡Θ┴÷ ╛╩░φ ▒Γ┴╕ ╞─└╧┐í ╗τ┐δ└┌╕ª
  202.     ├▀░í╟╤┤┘. (<code>-c</code> ┐╔╝╟└║ ╗⌡╖╬ ╛╧╚ú╞─└╧└╗ ╕╕╡τ┤┘).</p>
  203.  
  204.     <p>└╠┴ª <code>.htaccess</code> ╞─└╧└╗ ┤┘└╜░· ░░└╠ ╝÷┴ñ╟╤┤┘.</p>
  205.  
  206.     <div class="example"><p><code>
  207.       AuthType Basic<br />
  208.       AuthName "By Invitation Only"<br />
  209.       AuthUserFile /usr/local/apache/passwd/passwords<br />
  210.       AuthGroupFile /usr/local/apache/passwd/groups<br />
  211.       Require group GroupName
  212.     </code></p></div>
  213.  
  214.     <p>▒╫╖»╕Θ <code>GroupName</code> ▒╫╖∞┐í ╝╙╟╧╕τ
  215.     <code>password</code> ╞─└╧┐í ╟╫╕±└╠ └╓┤┬ ╗τ┐δ└┌░í ┐├╣┘╕Ñ
  216.     ╛╧╚ú╕ª └╘╖┬╟╧╕Θ ┴ó▒┘└╗ ╟π┐δ╟╤┤┘.</p>
  217.  
  218.     <p>┐⌐╖» └╧╣▌ ╗τ┐δ└┌╕ª ╡Θ┐⌐║╕│╗┤┬ ┤┘╕Ñ ╣µ╣²└╠ └╓┤┘. ▒╫╖∞╞─└╧└╗
  219.     ╕╕╡Θ ╟╩┐Σ╛°└╠ ┤┘└╜ ┴÷╜├╛ε╕ª ╗τ┐δ╟╧▒Γ╕╕ ╟╧╕Θ ╡╚┤┘.</p>
  220.  
  221.     <div class="example"><p><code>
  222.       Require valid-user
  223.     </code></p></div>
  224.  
  225.     <p><code>Require user rbowen</code> ┤δ╜┼ └╠ ┴÷╜├╛ε╕ª ╗τ┐δ╟╧╕Θ
  226.     ╛╧╚ú╞─└╧┐í └╓┤┬ ┤⌐▒╕╢≤╡╡ ┐├╣┘╕Ñ ╛╧╚ú╕ª └╘╖┬╟╧▒Γ╕╕ ╟╧╕Θ ┴ó▒┘└╗
  227.     ╟π┐δ╟╤┤┘. ▒╫╖∞║░╖╬ ┤┘╕Ñ ╛╧╚ú╞─└╧└╗ ╗τ┐δ╟╧┐⌐ ▒╫╖∞░· ║±╜┴╟╤
  228.     ╚┐░·╕ª ╛≥└╗ ╝÷╡╡ └╓┤┘. └╠ ░µ┐∞ ╛╞╞──í░í ╞─└╧ ╡╬░│(╛╧╚ú╞─└╧░·
  229.     ▒╫╖∞╞─└╧)░í ╛╞┤╤ ╞─└╧ ╟╤░│(╛╧╚ú╞─└╧)╕╕ ░╦╗τ╟╧╕Θ ╡╚┤┘┤┬ ░═└╠
  230.     └σ┴í└╠┤┘. ▒╫╖»│¬ ┐⌐╖» ╛╧╚ú╞─└╧└╗ ░ⁿ╕«╟╪╛▀ ╟╧░φ, <code class="directive"><a href="../mod/mod_authn_file.html#authuserfile">AuthUserFile</a></code> ┴÷╜├╛ε┐í
  231.     ┴ñ╚«╟╤ ╛╧╚ú╞─└╧└╗ ┴÷┴ñ╟╪╛▀ ╟╧┤┬ ░═└║ ┤▄┴í└╠┤┘.</p>
  232. </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  233. <div class="section">
  234. <h2><a name="possibleproblems" id="possibleproblems">╣▀╗²╟╥ ╝÷ └╓┤┬ ╣«┴ª┴í</a></h2>
  235.     <p>Basic └╬┴⌡ ╣µ╜─└║ ╝¡╣÷┐í╝¡ ╣«╝¡╕ª ┐Σ├╗╟╥ ╢º╕╢┤┘ ╗τ┐δ└┌╕φ░·
  236.     ╛╧╚ú╕ª ╚«└╬╟╤┤┘. ╜╔┴÷╛ε ░░└║ ╞Σ└╠┴÷╕ª ╗⌡╖╬ ░φ─º╟╥ ╢º╡╡ ╞Σ└╠┴÷┐═
  237.     (▒╫╕▓└╠ ╛╧╚ú╖╬ ║╕╚ú╟╧┤┬ ╡≡╖║┼Σ╕«┐í └╓┤┬ ░µ┐∞) ╞Σ└╠┴÷┐í └╓┤┬
  238.     ╕≡╡τ ▒╫╕▓┐í ┤δ╟╪ ┤┘╜├ ╚«└╬╟╤┤┘. ┴ⁿ└█╟╧╡φ└╠ ╝╙╡╡░í ┴╢▒▌ ┤└╖┴┴°┤┘.
  239.     ╛╧╚ú╞─└╧└╗ ┐¡╛ε╝¡ ╗τ┐δ└┌╕φ└╗ ├ú└╗ ╢º▒ε┴÷ ╗τ┐δ└┌ ╕±╖╧└╗ ╗∞╞∞║┴╛▀
  240.     ╟╧▒Γ╢º╣«┐í ╛╧╚ú╞─└╧ ┼⌐▒Γ░í ─┐┴· ╝÷╖╧ ┤⌡ ┤└╖┴┴°┤┘. ▒╫╕«░φ
  241.     └╠ └█╛≈└╗ ╞Σ└╠┴÷╕ª ┐Σ├╗╟╥ ╢º╕╢┤┘ ┴°╟α╟╤┤┘.</p>
  242.  
  243.     <p>▒╫╖í╝¡ ╟÷╜╟└√└╕╖╬ ╟╤ ╛╧╚ú╞─└╧┐í └·└σ╟╥ ╝÷ └╓┤┬ ╗τ┐δ└┌╝÷┐í┤┬
  244.     ╟╤░Φ░í └╓┤┘. └╠ ╟╤░Φ┤┬ ╗τ┐δ╟╧┤┬ ╝¡╣÷└╟ ╝║┤╔┐í ╡√╢≤ ┤┘╕ú┴÷╕╕,
  245.     ╟╫╕±└╠ ╝÷╣Θ░│░í │╤┤┬┤┘╕Θ ┤└╖┴┴°┤┘░φ ╗²░ó╟╧░φ ┤┘╕Ñ └╬┴⌡ ╣µ╣²└╗
  246.     ░φ╖┴╟╪╛▀ ╟╤┤┘.</p>
  247. </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  248. <div class="section">
  249. <h2><a name="whatotherneatstuffcanido" id="whatotherneatstuffcanido">┤┘╕Ñ ╣µ╣²╡╡ ░í┤╔╟╤░í?</a></h2>
  250.     <p>╗τ┐δ└┌╕φ░· ╛╧╚ú╕ª ╗τ┐δ╟╤ └╬┴⌡└╠ ┤┘░í ╛╞┤╧┤┘. ┴╛┴╛ ┴ó╝╙╟╤
  251.     └σ╝╥┐═ ░░└║ ┤┘╕Ñ ┴ñ║╕╕ª ░í┴÷░φ ╗τ┐δ└┌╕ª ╡Θ┐⌐║╕│╗░φ ╜═└╗
  252.     ╢º░í └╓┤┘.</p>
  253.  
  254.     <p><code class="directive"><a href="../mod/mod_authz_host.html#allow">Allow</a></code>┐═
  255.     <code class="directive"><a href="../mod/mod_authz_host.html#deny">Deny</a></code> ┴÷╜├╛ε┤┬
  256.     ╣«╝¡╕ª ┐Σ├╗╟╤ ──╟╗┼═└╟ ╚ú╜║╞«╕φ ╚ñ└║ ╚ú╜║╞« ┴╓╝╥╕ª ░í┴÷░φ
  257.     ┴ó▒┘└╗ ╟π┐δ╟╧░┼│¬ ░┼║╬╟╤┤┘. <code class="directive"><a href="../mod/mod_authz_host.html#order">Order</a></code> ┴÷╜├╛ε┤┬ └╠ ╡╬
  258.     ┴÷╜├╛ε┐═ ░░└╠ ╗τ┐δ╟╧┐⌐, ╛╞╞──í┐í░╘ ╛ε╢▓ ╝°╝¡╖╬ ▒╘─ó└╗ └√┐δ╟╥┴÷
  259.     ╛╦╕░┤┘.</p>
  260.  
  261.     <p>└╠╡Θ ┴÷╜├╛ε ╗τ┐δ╣²└║ ┤┘└╜░· ░░┤┘.</p>
  262.  
  263.     <div class="example"><p><code>
  264.       Allow from <var>address</var>
  265.     </code></p></div>
  266.  
  267.     <p>┐⌐▒Γ╝¡ <var>address</var>┤┬ IP ┴╓╝╥(╚ñ└║ IP ┴╓╝╥ └╧║╬)│¬
  268.     ┐╧└ⁿ╟╤ ╡╡╕▐└╬╕φ(╚ñ└║ ╡╡╕▐└╬╕φ └╧║╬)└╠┤┘. ┐°╟╤┤┘╕Θ ┐⌐╖» ┴╓╝╥│¬
  269.     ╡╡╕▐└╬╕φ└╗ ╗τ┐δ╟╥ ╝÷ └╓┤┘.</p>
  270.  
  271.     <p>┐╣╕ª ╡Θ╛ε, ┤⌐▒║░í░í ░╘╜├╞╟┐í ▒ñ░φ╕ª ┐├╕«░φ └╓┤┘╕Θ ┤┘└╜░·
  272.     ░░└╠ ┴ó▒┘└╗ ╕╖└╗ ╝÷ └╓┤┘.</p>
  273.  
  274.     <div class="example"><p><code>
  275.       Deny from 205.252.46.165
  276.     </code></p></div>
  277.  
  278.     <p>▒╫ ┴╓╝╥┐í╝¡ ╡Θ╛ε┐└┤┬ ╣µ╣«└┌┤┬ └╠ ┴÷╜├╛ε░í ║╕╚ú╟╧┤┬ ╞Σ└╠┴÷╕ª
  279.     ║╝ ╝÷ ╛°┤┘. IP ┴╓╝╥ ┤δ╜┼ ┤┘└╜░· ░░└╠ ──╟╗┼═╕φ└╗ ╗τ┐δ╟╥ ╝÷╡╡
  280.     └╓┤┘.</p>
  281.  
  282.     <div class="example"><p><code>
  283.       Deny from <var>host.example.com</var>
  284.     </code></p></div>
  285.  
  286.     <p>╢╟, └ⁿ├╝ ╡╡╕▐└╬└╟ ┴ó▒┘└╗ ╕╖└╕╖┴╕Θ ┴╓╝╥│¬ ╡╡╕▐└╬╕φ└╟ └╧║╬╕ª
  287.     ╗τ┐δ╟╤┤┘.</p>
  288.  
  289.     <div class="example"><p><code>
  290.       Deny from <var>192.101.205</var><br />
  291.       Deny from <var>cyberthugs.com</var> <var>moreidiots.com</var><br />
  292.       Deny from ke
  293.     </code></p></div>
  294.  
  295.     <p><code class="directive"><a href="../mod/mod_authz_host.html#order">Order</a></code>╕ª
  296.     <code class="directive"><a href="../mod/mod_authz_host.html#deny">Deny</a></code>┐═ <code class="directive"><a href="../mod/mod_authz_host.html#allow">Allow</a></code> ┴÷╜├╛ε┐═ ░░└╠
  297.     ╗τ┐δ╟╧┐⌐ ╜╟┴ª╖╬ ┐°╟╧┤┬ ┤δ╗≤└╗ ╕╖└╗ ╝÷ └╓┤┘.</p>
  298.  
  299.     <div class="example"><p><code>
  300.       Order deny,allow<br />
  301.       Deny from all<br />
  302.       Allow from <var>dev.example.com</var>
  303.     </code></p></div>
  304.  
  305.     <p><code class="directive"><a href="../mod/mod_authz_host.html#allow">Allow</a></code>
  306.     ┴÷╜├╛ε╕╕ ╗τ┐δ╟╧╕Θ, ╟╪┤τ ╚ú╜║╞«└╟ ╗τ┐δ└┌╕ª ╟π┐δ╟╧░φ ░┼▒Γ┐í
  307.     ├▀░í╖╬ ╕≡╡τ ╗τ╢≈└╗ ╟π┐δ╟╧╣╟╖╬ ┐°╟╧┤┬ ░ß░·╕ª ╛≥┴÷ ╕°╟╤┤┘.
  308.     ┤τ╜┼└║ ╞»┴ñ ╗τ╢≈<em>╕╕</em> ╟π┐δ╟╧▒µ ┐°╟╤┤┘.</p>
  309. </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  310. <div class="section">
  311. <h2><a name="moreinformation" id="moreinformation">┤⌡ ╕╣└║ ┴ñ║╕</a></h2>
  312.     <p><code class="module"><a href="../mod/mod_auth_basic.html">mod_auth_basic</a></code>░·
  313.     <code class="module"><a href="../mod/mod_authz_host.html">mod_authz_host</a></code> ╣«╝¡┐í ┴ó▒┘┴ª╛ε░í ╡┐└█╟╧┤┬
  314.     ╣µ╣²┐í ┤δ╟╤ ┤⌡ ╕╣└║ ┴ñ║╕░í └╓┤┘.</p>
  315. </div></div>
  316. <div class="bottomlang">
  317. <p><span>░í┤╔╟╤ ╛≡╛ε: </span><a href="../en/howto/auth.html" hreflang="en" rel="alternate" title="English"> en </a> |
  318. <a href="../ja/howto/auth.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
  319. <a href="../ko/howto/auth.html" title="Korean"> ko </a></p>
  320. </div><div id="footer">
  321. <p class="apache">Copyright 1995-2006 The Apache Software Foundation or its licensors, as applicable.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
  322. <p class="menu"><a href="../mod/">╕≡╡Γ</a> | <a href="../mod/directives.html">┴÷╜├╛ε╡Θ</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">┐δ╛ε</a> | <a href="../sitemap.html">╗τ└╠╞«╕╩</a></p></div>
  323. </body></html>